import nltkdef tagSentence(sentence):	words = nltk.word_tokenize(str(sentence))	tags = nltk.pos_tag(words)	return tags# lines = open("it-pos.txt", 'r').readlines()# for line in lines:	# line = line.strip()	# print tagSentence(line)print tagSentence("The party lost 13 of the 19 seats it contested in the April polls , including Piasau , the seat contested by party president Dr George Chan .")